package net.edu_soft.ec.asset.mapper;

import java.util.List;
import net.edu_soft.ec.asset.pojo.Demand;
import net.edu_soft.ec.asset.pojo.DemandExample;
import org.apache.ibatis.annotations.Param;

public interface DemandMapper {
    long countByExample(DemandExample example);

    int deleteByExample(DemandExample example);

    int deleteByPrimaryKey(Integer demandId);

    int insert(Demand record);

    int insertSelective(Demand record);

    List<Demand> selectByExample(DemandExample example);

    Demand selectByPrimaryKey(Integer demandId);

    int updateByExampleSelective(@Param("record") Demand record, @Param("example") DemandExample example);

    int updateByExample(@Param("record") Demand record, @Param("example") DemandExample example);

    int updateByPrimaryKeySelective(Demand record);

    int updateByPrimaryKey(Demand record);
}